package com.yonyou.gmmc.service.questionnaire.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TtShareLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TtShareLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andLogIdIsNull() {
            addCriterion("LOG_ID is null");
            return (Criteria) this;
        }

        public Criteria andLogIdIsNotNull() {
            addCriterion("LOG_ID is not null");
            return (Criteria) this;
        }

        public Criteria andLogIdEqualTo(Integer value) {
            addCriterion("LOG_ID =", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdNotEqualTo(Integer value) {
            addCriterion("LOG_ID <>", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdGreaterThan(Integer value) {
            addCriterion("LOG_ID >", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("LOG_ID >=", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdLessThan(Integer value) {
            addCriterion("LOG_ID <", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdLessThanOrEqualTo(Integer value) {
            addCriterion("LOG_ID <=", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdIn(List<Integer> values) {
            addCriterion("LOG_ID in", values, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdNotIn(List<Integer> values) {
            addCriterion("LOG_ID not in", values, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdBetween(Integer value1, Integer value2) {
            addCriterion("LOG_ID between", value1, value2, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdNotBetween(Integer value1, Integer value2) {
            addCriterion("LOG_ID not between", value1, value2, "logId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("USER_ID is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("USER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("USER_ID =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("USER_ID <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("USER_ID >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("USER_ID >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("USER_ID <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("USER_ID <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("USER_ID in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("USER_ID not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("USER_ID between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("USER_ID not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("CONTENT is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("CONTENT is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("CONTENT =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("CONTENT <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("CONTENT >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("CONTENT >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("CONTENT <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("CONTENT <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("CONTENT like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("CONTENT not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("CONTENT in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("CONTENT not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("CONTENT between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("CONTENT not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameIsNull() {
            addCriterion("BIZ_CASE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameIsNotNull() {
            addCriterion("BIZ_CASE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameEqualTo(String value) {
            addCriterion("BIZ_CASE_NAME =", value, "bizCaseName");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameNotEqualTo(String value) {
            addCriterion("BIZ_CASE_NAME <>", value, "bizCaseName");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameGreaterThan(String value) {
            addCriterion("BIZ_CASE_NAME >", value, "bizCaseName");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameGreaterThanOrEqualTo(String value) {
            addCriterion("BIZ_CASE_NAME >=", value, "bizCaseName");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameLessThan(String value) {
            addCriterion("BIZ_CASE_NAME <", value, "bizCaseName");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameLessThanOrEqualTo(String value) {
            addCriterion("BIZ_CASE_NAME <=", value, "bizCaseName");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameLike(String value) {
            addCriterion("BIZ_CASE_NAME like", value, "bizCaseName");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameNotLike(String value) {
            addCriterion("BIZ_CASE_NAME not like", value, "bizCaseName");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameIn(List<String> values) {
            addCriterion("BIZ_CASE_NAME in", values, "bizCaseName");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameNotIn(List<String> values) {
            addCriterion("BIZ_CASE_NAME not in", values, "bizCaseName");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameBetween(String value1, String value2) {
            addCriterion("BIZ_CASE_NAME between", value1, value2, "bizCaseName");
            return (Criteria) this;
        }

        public Criteria andBizCaseNameNotBetween(String value1, String value2) {
            addCriterion("BIZ_CASE_NAME not between", value1, value2, "bizCaseName");
            return (Criteria) this;
        }

        public Criteria andShareDateIsNull() {
            addCriterion("SHARE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andShareDateIsNotNull() {
            addCriterion("SHARE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andShareDateEqualTo(Date value) {
            addCriterion("SHARE_DATE =", value, "shareDate");
            return (Criteria) this;
        }

        public Criteria andShareDateNotEqualTo(Date value) {
            addCriterion("SHARE_DATE <>", value, "shareDate");
            return (Criteria) this;
        }

        public Criteria andShareDateGreaterThan(Date value) {
            addCriterion("SHARE_DATE >", value, "shareDate");
            return (Criteria) this;
        }

        public Criteria andShareDateGreaterThanOrEqualTo(Date value) {
            addCriterion("SHARE_DATE >=", value, "shareDate");
            return (Criteria) this;
        }

        public Criteria andShareDateLessThan(Date value) {
            addCriterion("SHARE_DATE <", value, "shareDate");
            return (Criteria) this;
        }

        public Criteria andShareDateLessThanOrEqualTo(Date value) {
            addCriterion("SHARE_DATE <=", value, "shareDate");
            return (Criteria) this;
        }

        public Criteria andShareDateIn(List<Date> values) {
            addCriterion("SHARE_DATE in", values, "shareDate");
            return (Criteria) this;
        }

        public Criteria andShareDateNotIn(List<Date> values) {
            addCriterion("SHARE_DATE not in", values, "shareDate");
            return (Criteria) this;
        }

        public Criteria andShareDateBetween(Date value1, Date value2) {
            addCriterion("SHARE_DATE between", value1, value2, "shareDate");
            return (Criteria) this;
        }

        public Criteria andShareDateNotBetween(Date value1, Date value2) {
            addCriterion("SHARE_DATE not between", value1, value2, "shareDate");
            return (Criteria) this;
        }

        public Criteria andShareToIsNull() {
            addCriterion("SHARE_TO is null");
            return (Criteria) this;
        }

        public Criteria andShareToIsNotNull() {
            addCriterion("SHARE_TO is not null");
            return (Criteria) this;
        }

        public Criteria andShareToEqualTo(String value) {
            addCriterion("SHARE_TO =", value, "shareTo");
            return (Criteria) this;
        }

        public Criteria andShareToNotEqualTo(String value) {
            addCriterion("SHARE_TO <>", value, "shareTo");
            return (Criteria) this;
        }

        public Criteria andShareToGreaterThan(String value) {
            addCriterion("SHARE_TO >", value, "shareTo");
            return (Criteria) this;
        }

        public Criteria andShareToGreaterThanOrEqualTo(String value) {
            addCriterion("SHARE_TO >=", value, "shareTo");
            return (Criteria) this;
        }

        public Criteria andShareToLessThan(String value) {
            addCriterion("SHARE_TO <", value, "shareTo");
            return (Criteria) this;
        }

        public Criteria andShareToLessThanOrEqualTo(String value) {
            addCriterion("SHARE_TO <=", value, "shareTo");
            return (Criteria) this;
        }

        public Criteria andShareToLike(String value) {
            addCriterion("SHARE_TO like", value, "shareTo");
            return (Criteria) this;
        }

        public Criteria andShareToNotLike(String value) {
            addCriterion("SHARE_TO not like", value, "shareTo");
            return (Criteria) this;
        }

        public Criteria andShareToIn(List<String> values) {
            addCriterion("SHARE_TO in", values, "shareTo");
            return (Criteria) this;
        }

        public Criteria andShareToNotIn(List<String> values) {
            addCriterion("SHARE_TO not in", values, "shareTo");
            return (Criteria) this;
        }

        public Criteria andShareToBetween(String value1, String value2) {
            addCriterion("SHARE_TO between", value1, value2, "shareTo");
            return (Criteria) this;
        }

        public Criteria andShareToNotBetween(String value1, String value2) {
            addCriterion("SHARE_TO not between", value1, value2, "shareTo");
            return (Criteria) this;
        }

        public Criteria andShareTypeIsNull() {
            addCriterion("SHARE_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andShareTypeIsNotNull() {
            addCriterion("SHARE_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andShareTypeEqualTo(Short value) {
            addCriterion("SHARE_TYPE =", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeNotEqualTo(Short value) {
            addCriterion("SHARE_TYPE <>", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeGreaterThan(Short value) {
            addCriterion("SHARE_TYPE >", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeGreaterThanOrEqualTo(Short value) {
            addCriterion("SHARE_TYPE >=", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeLessThan(Short value) {
            addCriterion("SHARE_TYPE <", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeLessThanOrEqualTo(Short value) {
            addCriterion("SHARE_TYPE <=", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeIn(List<Short> values) {
            addCriterion("SHARE_TYPE in", values, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeNotIn(List<Short> values) {
            addCriterion("SHARE_TYPE not in", values, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeBetween(Short value1, Short value2) {
            addCriterion("SHARE_TYPE between", value1, value2, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeNotBetween(Short value1, Short value2) {
            addCriterion("SHARE_TYPE not between", value1, value2, "shareType");
            return (Criteria) this;
        }

        public Criteria andSsiIdIsNull() {
            addCriterion("SSI_ID is null");
            return (Criteria) this;
        }

        public Criteria andSsiIdIsNotNull() {
            addCriterion("SSI_ID is not null");
            return (Criteria) this;
        }

        public Criteria andSsiIdEqualTo(String value) {
            addCriterion("SSI_ID =", value, "ssiId");
            return (Criteria) this;
        }

        public Criteria andSsiIdNotEqualTo(String value) {
            addCriterion("SSI_ID <>", value, "ssiId");
            return (Criteria) this;
        }

        public Criteria andSsiIdGreaterThan(String value) {
            addCriterion("SSI_ID >", value, "ssiId");
            return (Criteria) this;
        }

        public Criteria andSsiIdGreaterThanOrEqualTo(String value) {
            addCriterion("SSI_ID >=", value, "ssiId");
            return (Criteria) this;
        }

        public Criteria andSsiIdLessThan(String value) {
            addCriterion("SSI_ID <", value, "ssiId");
            return (Criteria) this;
        }

        public Criteria andSsiIdLessThanOrEqualTo(String value) {
            addCriterion("SSI_ID <=", value, "ssiId");
            return (Criteria) this;
        }

        public Criteria andSsiIdLike(String value) {
            addCriterion("SSI_ID like", value, "ssiId");
            return (Criteria) this;
        }

        public Criteria andSsiIdNotLike(String value) {
            addCriterion("SSI_ID not like", value, "ssiId");
            return (Criteria) this;
        }

        public Criteria andSsiIdIn(List<String> values) {
            addCriterion("SSI_ID in", values, "ssiId");
            return (Criteria) this;
        }

        public Criteria andSsiIdNotIn(List<String> values) {
            addCriterion("SSI_ID not in", values, "ssiId");
            return (Criteria) this;
        }

        public Criteria andSsiIdBetween(String value1, String value2) {
            addCriterion("SSI_ID between", value1, value2, "ssiId");
            return (Criteria) this;
        }

        public Criteria andSsiIdNotBetween(String value1, String value2) {
            addCriterion("SSI_ID not between", value1, value2, "ssiId");
            return (Criteria) this;
        }

        public Criteria andBizIdIsNull() {
            addCriterion("BIZ_ID is null");
            return (Criteria) this;
        }

        public Criteria andBizIdIsNotNull() {
            addCriterion("BIZ_ID is not null");
            return (Criteria) this;
        }

        public Criteria andBizIdEqualTo(String value) {
            addCriterion("BIZ_ID =", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdNotEqualTo(String value) {
            addCriterion("BIZ_ID <>", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdGreaterThan(String value) {
            addCriterion("BIZ_ID >", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdGreaterThanOrEqualTo(String value) {
            addCriterion("BIZ_ID >=", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdLessThan(String value) {
            addCriterion("BIZ_ID <", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdLessThanOrEqualTo(String value) {
            addCriterion("BIZ_ID <=", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdLike(String value) {
            addCriterion("BIZ_ID like", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdNotLike(String value) {
            addCriterion("BIZ_ID not like", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdIn(List<String> values) {
            addCriterion("BIZ_ID in", values, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdNotIn(List<String> values) {
            addCriterion("BIZ_ID not in", values, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdBetween(String value1, String value2) {
            addCriterion("BIZ_ID between", value1, value2, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdNotBetween(String value1, String value2) {
            addCriterion("BIZ_ID not between", value1, value2, "bizId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}